//
//  CategoryThing.m
//  CategoryThing
//
//  Created by quentin on 15/9/18.
//  Copyright © 2015年 QuentinLabs. All rights reserved.
//

#import "CategoryThing.h"

@implementation CategoryThing

-(NSString*)description
{
    NSString* desc;
    desc = [NSString stringWithFormat:@"%ld,%ld,%ld",(long)thing1,(long)thing2,(long)thing3];
    return desc;
}

@end


@implementation CategoryThing(Thing1)
-(void)setThing1:(NSInteger)t1
{
    thing1 = t1;
}

-(NSInteger) thing1
{
    return thing1;
}
@end

@implementation CategoryThing (Thing2)

-(void) setThing2:(NSInteger)t2
{
    thing2 = t2;
}

-(NSInteger)thing2
{
    return (thing2);
}

@end


@implementation CategoryThing (Thing3)

-(void) setThing3:(NSInteger)t3
{
    thing3 = t3;
}

-(NSInteger)thing3
{
    return (thing3);
}

@end

